package com.zenithmind.task.pojo.query;

import com.zenithmind.common.query.BaseQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 任务关注查询条件
 * 
 * @author ZenithMind Team
 * @since 2025-01-09
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "任务关注查询条件")
public class TaskFollowerQuery extends BaseQuery {

    @Schema(description = "任务ID")
    private String taskId;

    @Schema(description = "任务ID列表")
    private List<String> taskIds;

    @Schema(description = "关注者ID")
    private String followerId;

    @Schema(description = "关注者ID列表")
    private List<String> followerIds;

    @Schema(description = "关注类型：1-主动关注，2-自动关注，3-被邀请关注")
    private Integer followType;

    @Schema(description = "关注类型列表")
    private List<Integer> followTypes;

    @Schema(description = "关注状态")
    private Integer status;

    @Schema(description = "通知设置：1-接收所有通知，2-仅重要通知，3-不接收通知")
    private Integer notificationSetting;

    @Schema(description = "关注时间开始")
    private LocalDateTime followTimeBegin;

    @Schema(description = "关注时间结束")
    private LocalDateTime followTimeEnd;

    @Schema(description = "创建时间开始")
    private LocalDateTime createTimeBegin;

    @Schema(description = "创建时间结束")
    private LocalDateTime createTimeEnd;

    @Schema(description = "搜索关键词（关注者名称、备注）")
    private String keyword;
}
